﻿package org.cshoo.sys.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
	
	import org.cshoo.sys.model.vo.User;
	
	public class LoginEvent extends CairngormEvent
	{
		public var user:User;
		public static const EVENT_LOGIN:String = "login";
		public function LoginEvent(user:User)
		{
			super(LoginEvent.EVENT_LOGIN);
			this.user = user;
		}
		
		override public function clone():Event{
			return new LoginEvent(user);
		}
	}
}